package cn.fzkj.project.system.domain;

import cn.fzkj.framework.aspectj.lang.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonIgnore;

import java.util.Date;

/** 待办事项对象 */
public class SysTodo {

    @Excel(name = "编号")
    private Long tId;

    /** 待办事项内容 */
    @Excel(name = "内容")
    private String content;

    /** 是否完成 */
    @Excel(name = "是否完成")
    private String done;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 目标时间 */
    @Excel(name = "目标时间")
    private String targetTime;

    /** 创建时间 */
    @JsonIgnore
    @Excel(name = "创建时间")
    private Date createTime;

    /** 更新时间 */
    @JsonIgnore
    private Date updateTime;

    /** 是否删除（0代表存在 2代表删除） */
    @JsonIgnore
    private String delFlag;

    public Long gettId() {
        return tId;
    }

    public void settId(Long tId) {
        this.tId = tId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getDone() {
        return done;
    }

    public void setDone(String done) {
        this.done = done;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getTargetTime() {
        return targetTime;
    }

    public void setTargetTime(String targetTime) {
        this.targetTime = targetTime;
    }

    @Override
    public String toString() {
        return "SysTodo{" +
                "tId=" + tId +
                ", content='" + content + '\'' +
                ", done='" + done + '\'' +
                ", userId=" + userId +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", delFlag='" + delFlag + '\'' +
                '}';
    }
}
